package com.qitianyong.selfclass;

import android.util.Log;

import com.sgkusbcamdemo.BuildConfig;


public class LogUtils {
    public static  boolean LogEnable = BuildConfig.DEBUG;
    public static final String TAG = "gksdk";
    public static void v(String tag,String msg){
        if(LogEnable){
            Log.v(TAG,tag+" "+msg);
        }
    }
    public static void i(String tag,String msg){
        if(LogEnable){
            Log.i(TAG,tag+" "+msg);
        }
    }
    public static void d(String tag,String msg){
        if(LogEnable){
            Log.d(TAG,tag+" "+msg);
        }
    }
    public static void w(String tag,String msg){
        if(LogEnable){
            Log.w(TAG,tag+" "+msg);
        }
    }
    public static void e(String tag,String msg){
        if(LogEnable){
            Log.e(TAG,tag+" "+msg);
        }
    }
}
